package site.longkui.consumer.feign.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import site.longkui.consumer.feign.service.consumerFeignService;

@RestController
@RequestMapping("/consumerFeign")
public class consumerFeignController {

    @Autowired
    private  consumerFeignService feignService;

    @GetMapping("/getUser")
    public  String getUser(){
        return feignService.getUser();
    }

}
